package org.jeecg.modules.saledetail.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 分销系统佣金
 * @Author: jeecg-boot
 * @Date:   2023-05-27
 * @Version: V1.0
 */
@Data
@TableName("box_saledetail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="box_saledetail对象", description="分销系统佣金")
public class BoxSaledetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**用户id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "用户id")
    private Integer id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private Integer userid;
	/**用户名*/
	@Excel(name = "用户名", width = 15)
    @ApiModelProperty(value = "用户名")
    private String username;
	/**用户级别*/
	@Excel(name = "用户级别", width = 15)
    @ApiModelProperty(value = "用户级别")
    private Integer level;
	/**购买盲盒用户id*/
	@Excel(name = "购买盲盒用户id", width = 15)
    @ApiModelProperty(value = "购买盲盒用户id")
    private Integer buyid;
	/**购买盲盒用户名*/
	@Excel(name = "购买盲盒用户名", width = 15)
    @ApiModelProperty(value = "购买盲盒用户名")
    private String buyname;
	/**分销佣金*/
	@Excel(name = "分销佣金", width = 15)
    @ApiModelProperty(value = "分销佣金")
    private String salemoney;
	/**分销时间*/
	@Excel(name = "分销时间", width = 15)
    @ApiModelProperty(value = "分销时间")
    @TableField(value = "`time`")
    private Integer time;
}
